package desgin.pattern.behavior.command.sample;

/**
 * 
 * @Type TvControl
 * @Desc 请求者(invoker)
 * @author shuai.zuo
 * @date 2015年3月9日
 * @Version V1.0
 */
public class TvControl {
    private Operation operation;

    public TvControl(Operation operation) {
        this.operation = operation;
    }

    public void run() {
        operation.execute();
    }

}
